package cn.wancat.pattern.behavioral.mediator;

public class ConcreteColleague2 extends Colleague{
    @Override
    public void receive() {
        System.out.println(">>>>========>>>>  具体同事2 收到消息");
    }

    @Override
    public void send() {
        System.out.println(">>>> 具体同事2   发送消息");
        mediator.relay(this);
    }
}
